package com.example.demo.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/*
 * @Author:大力王
 * @Date:2024/3/31-31-4:13
 * 开始了
 */
@Getter
@Setter
@ToString
@Component
@NoArgsConstructor
@AllArgsConstructor
public class Barrage {
    @ApiModelProperty("弹幕ID")
    private Long id; // 弹幕ID
    @ApiModelProperty("弹幕内容")
    private String content; // 弹幕内容
    @ApiModelProperty("发送者")
    private String sender; // 发送者
    @ApiModelProperty("发送时间")
    private LocalDateTime sendTime; // 发送时间
}
